package com.yxhl.zoume.data.http.rest.response.login;

import com.google.gson.annotations.SerializedName;
import com.yxhl.zoume.data.http.rest.response.base.BaseResponse;

/**
 * Created by Xboy on 16/3/18.
 */
public class CheckUpdateResponse extends BaseResponse {

    @SerializedName("clientVersion")
    private String clientVersion;

    @SerializedName("updateContent")
    private String updateContent;

    @SerializedName("fileUrl")
    private String fileUrl;

    //有两种值:"NOUPDATE","UPDATE"
    @SerializedName("isNeedUpdate")
    private String isNeedUpdate;

    @SerializedName("isSupport")
    private int supportUpdateType;


    public String getClientVersion() {
        return clientVersion;
    }

    public void setClientVersion(String clientVersion) {
        this.clientVersion = clientVersion;
    }

    public String getUpdateContent() {
        return updateContent;
    }

    public void setUpdateContent(String updateContent) {
        this.updateContent = updateContent;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getIsNeedUpdate() {
        return isNeedUpdate;
    }

    public void setIsNeedUpdate(String isNeedUpdate) {
        this.isNeedUpdate = isNeedUpdate;
    }

    public int getSupportUpdateType() {
        return supportUpdateType;
    }

    public void setSupportUpdateType(int supportUpdateType) {
        this.supportUpdateType = supportUpdateType;
    }

    @Override
    public String toString() {
        return "CheckUpdateResponse{" +
                "supportUpdateType=" + supportUpdateType +
                ", isNeedUpdate='" + isNeedUpdate + '\'' +
                ", fileUrl='" + fileUrl + '\'' +
                ", updateContent='" + updateContent + '\'' +
                ", clientVersion='" + clientVersion + '\'' +
                '}';
    }
}
